#ifndef _STATION_CMD_H
#define _STATION_CMD_H

#include "Command.h"
#include <string>

using namespace std;

class StationCmd : public Command{
private:
	Command *nextStation;

public:
	StationCmd(string commandText);
	StationCmd(string curStation, string nextStation);
	void execute();	
};

#include <iostream>
class MyException{
public:
	string msg;

public:
	MyException(const string message) : msg(message){ }

	void print(){
		cerr << "Exception message: " << msg << endl;
	}
};
#endif // _STATION_CMD_H